from fuzzymatrix import *
xa = FM([0.5, 1, 0.1])
yb = FM([0.1, 1, 0.6])
zc = FM([0.4, 1])
dab = FM([0.1, 0.5, 0.5, 0.1, 1.0, 0.6, 0.1, 0.1, 0.1])
r = mandani(dab, zc)
a1 = FM([1, 0.5, 0.1])
b1 = FM([0.1, 0.5, 1])
da1b1 = FM([0.1, 0.5, 1.0, 0.1, 0.5, 0.5, 0.1, 0.1, 0.1])
printfm(o(da1b1, r))
